package org.dev.vlp.service;

import org.dev.vlp.entity.LearnRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dev.vlp.entity.Word;
import org.dev.vlp.vo.StatisticsVO;

import java.util.List;

/**
* @author 86184
* @description 针对表【vlp_learn_record】的数据库操作Service
* @createDate 2023-01-23 18:11:12
*/
public interface LearnRecordService extends IService<LearnRecord> {

    List<Word> getNewWords(int userId,int needCount);

    StatisticsVO getNeedLearnAndReview(int uid);

    List<Word> getNeedReviewWords(int uid);

    void reviewOldWord(List<Integer> wordIds,List<Integer> reviews,int uid);

    void learnNewWord(int uid,List<Integer> wordIds);
}
